﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;

/// <summary>
/// Summary description for AdminPage
/// </summary>
public class AdminPage: System.Web.UI.Page
{
    public AdminPage()
    {
       
    }

    protected override void OnLoad(EventArgs e)
    {
        if (Session[Global.SESSION_LOGGED_ADMIN] == null || Session[Global.SESSION_LOGGED_ADMIN] == "")
        {
            Response.Redirect("~/Admin/Login.aspx", true);
            return;
        }
        base.OnLoad(e);
    }
}
